package com.qhhc.hospital.mapper;

import com.qhhc.hospital.entity.DoctorUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DoctorUserMapper {
    public int insertDoctorUser(DoctorUser doctorUser);
    
    public List<DoctorUser> selectAllDoctorUsers();
    
    public DoctorUser selectDoctorUserById(@Param("d_id") Integer dId);
    
    public List<DoctorUser> selectDoctorUserBySection(@Param("d_section") String dSection);
    
    public int updateDoctorUser(DoctorUser doctorUser);
    
    public int deleteDoctorUser(@Param("d_id") Integer dId);
}